package com.ilaempire.bedb.client;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;

import com.extjs.gxt.ui.client.widget.Info;



public class JSONP {
	//private final String site = "http://192.168.1.114:12345/bedb/bb_s_eve_database/ajax/";
	private final String site = "http://localhost/bedb/";
	private String page;
	private HashMap para = new HashMap();
	private String para_string = "";
	
	public void init(String page, HashMap para) {
		this.page = page;
		this.para = para;
		
		Iterator it = para.entrySet().iterator();
		while(it.hasNext()){
			Map.Entry entry = (Map.Entry) it.next();
			this.para_string += (String) entry.getKey() + "=" + (String) entry.getValue() + "&";
		}
		
		//Info.display("JSONP",this.para_string);
		//GlobalFuntion.sysError(para_string);
		
	}
	
	// Make call to remote server.

}
